package com.ssm.xm.model;

import org.springframework.stereotype.Component;

import java.io.Serializable;

@Component
public class StudentInfo implements Serializable {
    private Integer studentId;

    private Integer thId;

    private Integer classId;

    private String studentName;

    private String studentSex;

    private Integer studentAge;

    private String studentTellphone;

    private String studentEmail;

    private String studentIdcard;

    private String studentAddress;

    private String studentBirthday;

    private String studentSchool;

    private String studentQq;

    private String studentParentsName;

    private String studentParentsPhone;

    private String studentPro;

    private String studentProCity;

    private String studentType;

    private String studentIspay;

    private String studentSate;

    private String studentMark;

    private String studentDesc;

    private String studentNumber;

    private String studentPassword;

    private static final long serialVersionUID = 1L;

    public Integer getStudentId() {
        return studentId;
    }

    public void setStudentId(Integer studentId) {
        this.studentId = studentId;
    }

    public Integer getThId() {
        return thId;
    }

    public void setThId(Integer thId) {
        this.thId = thId;
    }

    public Integer getClassId() {
        return classId;
    }

    public void setClassId(Integer classId) {
        this.classId = classId;
    }

    public String getStudentName() {
        return studentName;
    }

    public void setStudentName(String studentName) {
        this.studentName = studentName == null ? null : studentName.trim();
    }

    public String getStudentSex() {
        return studentSex;
    }

    public void setStudentSex(String studentSex) {
        this.studentSex = studentSex == null ? null : studentSex.trim();
    }

    public Integer getStudentAge() {
        return studentAge;
    }

    public void setStudentAge(Integer studentAge) {
        this.studentAge = studentAge;
    }

    public String getStudentTellphone() {
        return studentTellphone;
    }

    public void setStudentTellphone(String studentTellphone) {
        this.studentTellphone = studentTellphone == null ? null : studentTellphone.trim();
    }

    public String getStudentEmail() {
        return studentEmail;
    }

    public void setStudentEmail(String studentEmail) {
        this.studentEmail = studentEmail == null ? null : studentEmail.trim();
    }

    public String getStudentIdcard() {
        return studentIdcard;
    }

    public void setStudentIdcard(String studentIdcard) {
        this.studentIdcard = studentIdcard == null ? null : studentIdcard.trim();
    }

    public String getStudentAddress() {
        return studentAddress;
    }

    public void setStudentAddress(String studentAddress) {
        this.studentAddress = studentAddress == null ? null : studentAddress.trim();
    }

    public String getStudentBirthday() {
        return studentBirthday;
    }

    public void setStudentBirthday(String studentBirthday) {
        this.studentBirthday = studentBirthday == null ? null : studentBirthday.trim();
    }

    public String getStudentSchool() {
        return studentSchool;
    }

    public void setStudentSchool(String studentSchool) {
        this.studentSchool = studentSchool == null ? null : studentSchool.trim();
    }

    public String getStudentQq() {
        return studentQq;
    }

    public void setStudentQq(String studentQq) {
        this.studentQq = studentQq == null ? null : studentQq.trim();
    }

    public String getStudentParentsName() {
        return studentParentsName;
    }

    public void setStudentParentsName(String studentParentsName) {
        this.studentParentsName = studentParentsName == null ? null : studentParentsName.trim();
    }

    public String getStudentParentsPhone() {
        return studentParentsPhone;
    }

    public void setStudentParentsPhone(String studentParentsPhone) {
        this.studentParentsPhone = studentParentsPhone == null ? null : studentParentsPhone.trim();
    }

    public String getStudentPro() {
        return studentPro;
    }

    public void setStudentPro(String studentPro) {
        this.studentPro = studentPro == null ? null : studentPro.trim();
    }

    public String getStudentProCity() {
        return studentProCity;
    }

    public void setStudentProCity(String studentProCity) {
        this.studentProCity = studentProCity == null ? null : studentProCity.trim();
    }

    public String getStudentType() {
        return studentType;
    }

    public void setStudentType(String studentType) {
        this.studentType = studentType == null ? null : studentType.trim();
    }

    public String getStudentIspay() {
        return studentIspay;
    }

    public void setStudentIspay(String studentIspay) {
        this.studentIspay = studentIspay == null ? null : studentIspay.trim();
    }

    public String getStudentSate() {
        return studentSate;
    }

    public void setStudentSate(String studentSate) {
        this.studentSate = studentSate == null ? null : studentSate.trim();
    }

    public String getStudentMark() {
        return studentMark;
    }

    public void setStudentMark(String studentMark) {
        this.studentMark = studentMark == null ? null : studentMark.trim();
    }

    public String getStudentDesc() {
        return studentDesc;
    }

    public void setStudentDesc(String studentDesc) {
        this.studentDesc = studentDesc == null ? null : studentDesc.trim();
    }

    public String getStudentNumber() {
        return studentNumber;
    }

    public void setStudentNumber(String studentNumber) {
        this.studentNumber = studentNumber == null ? null : studentNumber.trim();
    }

    public String getStudentPassword() {
        return studentPassword;
    }

    public void setStudentPassword(String studentPassword) {
        this.studentPassword = studentPassword == null ? null : studentPassword.trim();
    }

    @Override
    public String toString() {
        StringBuilder sb = new StringBuilder();
        sb.append(getClass().getSimpleName());
        sb.append(" [");
        sb.append("Hash = ").append(hashCode());
        sb.append(", studentId=").append(studentId);
        sb.append(", thId=").append(thId);
        sb.append(", classId=").append(classId);
        sb.append(", studentName=").append(studentName);
        sb.append(", studentSex=").append(studentSex);
        sb.append(", studentAge=").append(studentAge);
        sb.append(", studentTellphone=").append(studentTellphone);
        sb.append(", studentEmail=").append(studentEmail);
        sb.append(", studentIdcard=").append(studentIdcard);
        sb.append(", studentAddress=").append(studentAddress);
        sb.append(", studentBirthday=").append(studentBirthday);
        sb.append(", studentSchool=").append(studentSchool);
        sb.append(", studentQq=").append(studentQq);
        sb.append(", studentParentsName=").append(studentParentsName);
        sb.append(", studentParentsPhone=").append(studentParentsPhone);
        sb.append(", studentPro=").append(studentPro);
        sb.append(", studentProCity=").append(studentProCity);
        sb.append(", studentType=").append(studentType);
        sb.append(", studentIspay=").append(studentIspay);
        sb.append(", studentSate=").append(studentSate);
        sb.append(", studentMark=").append(studentMark);
        sb.append(", studentDesc=").append(studentDesc);
        sb.append(", studentNumber=").append(studentNumber);
        sb.append(", studentPassword=").append(studentPassword);
        sb.append(", serialVersionUID=").append(serialVersionUID);
        sb.append("]");
        return sb.toString();
    }
}